package com.none.web.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_like")
public class TLike  implements Serializable{
	private static final long serialVersionUID = 129401136152737530L;
	@Id
	private String id;
	private String contentId;
	private String userId;
	private Timestamp like_time;
	private String  type;
	private String delete_flag;//点赞是否取消： 0--正常   1--已经取消点赞
	@Id
  	@Column(name = "id", unique = true, nullable = false,updatable=false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "contentId")
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}
	@Column(name = "userId")
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Column(name = "like_time")
	public Timestamp getLike_time() {
		return like_time;
	}
	public void setLike_time(Timestamp like_time) {
		this.like_time = like_time;
	}
	@Column(name = "type")
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	@Column(name = "delete_flag")
	public String getDelete_flag() {
		return delete_flag;
	}
	public void setDelete_flag(String delete_flag) {
		this.delete_flag = delete_flag;
	}
	
	
}
